package com.gen.entity;

public class Student {
	private Integer id;
	private String username;
	private Character sex;
	private String address;
	private String idnumber;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Character getSex() {
		return sex;
	}

	public void setSex(Character sex) {
		this.sex = sex;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getIdnumber() {
		return idnumber;
	}

	public void setIdnumber(String idnumber) {
		this.idnumber = idnumber;
	}

	public Student(Integer id, String username, Character sex, String address, String idnumber) {
		super();
		this.id = id;
		this.username = username;
		this.sex = sex;
		this.address = address;
		this.idnumber = idnumber;
	}

	public Student() {
		super();
	}

	@Override
	public String toString() {
		return "Student [id=" + id + ", username=" + username + ", sex=" + sex + ", address=" + address + ", idnumber="
				+ idnumber + "]";
	}

}
